/**
 * Created by 16020025 on 2017/5/15.
 */
$(document).ready(function() {
    var listVue = new Vue({
        el: '#customerList',
        data: {
            //显示JSON
            message: '',
            //对象
            object: '',
            //对象数组
            list: [
                {
                    customerName: '教练1',
                    telNumber: '11111111111',
                    sex: '男',
                    age: 23,
                    workDate: "周一，周二，周五",
                    customerImg: "../../img/icon/man.jpg"
                },
                {
                    customerName: '教练2',
                    telNumber: '11111111111',
                    sex: '男',
                    age: 21,
                    workDate: "周一，周二，周五",
                    customerImg: "../../img/icon/man.jpg"
                },
                {
                    customerName: '教练3',
                    telNumber: '11111111111',
                    sex: '女',
                    age: 26,
                    workDate: "周一，周二，周五",
                    customerImg: "../../img/icon/wman.jpg"
                },
                {
                    customerName: '教练4',
                    telNumber: '11111111111',
                    sex: '男',
                    age: 28,
                    workDate: "周三，周四",
                    customerImg: "../../img/icon/man.jpg"
                },
                {
                    customerName: '教练5',
                    telNumber: '11111111111',
                    sex: '女',
                    age: 29,
                    workDate: "周三，周四",
                    customerImg: "../../img/icon/wman.jpg"
                }
            ]
        }
    });

    $(".active_span").click(function () {
        $('#schedule').css('display','block');
        /*$('#schedule').animate({display:'block'});*/
    });
    $(".scheduleClose").click(function () {
        $('#schedule').css('display','none');
        /*$('#schedule').animate({display:'block'});*/
    });
    if($(".iDate.full").length>0){
        $(".iDate.full").datetimepicker({
            locale: "zh-cn",
            format: "YYYY-MM-DD a hh:mm",
            dayViewHeaderFormat: "YYYY年 MMMM"
        });
    }

})